[gd_scene load_steps=18 format=3 uid="uid://p0p5p0t1ksg7"]

[ext_resource type="Script" path="res://scenes/main_menu/main_menu.gd" id="1_ixylo"]
[ext_resource type="Texture2D" uid="uid://cgfevouuaj838" path="res://assets/sprites/background/background.png" id="2_4lmfd"]
[ext_resource type="PackedScene" uid="uid://dkcd5om7fh0w4" path="res://scenes/tilemap/tilemap.tscn" id="2_kmjht"]
[ext_resource type="PackedScene" path="res://scenes/ui/wood_plate/wood_plate.tscn" id="3_wc0ux"]
[ext_resource type="Texture2D" uid="uid://bs3a8ud6co5a3" path="res://assets/sprites/main_menu/buttons/play/play.png" id="6_6ma3f"]
[ext_resource type="Texture2D" uid="uid://boxy83mdd5bu" path="res://assets/sprites/slime/slime.png" id="6_r38o8"]
[ext_resource type="PackedScene" uid="uid://rgll4to22jal" path="res://scenes/ui/wood_button/wood_button.tscn" id="6_ur85q"]
[ext_resource type="Texture2D" uid="uid://djb8uuur1wkar" path="res://assets/sprites/main_menu/grredy_slime.png" id="7_23beg"]
[ext_resource type="Texture2D" uid="uid://dnfp25jk5bxdi" path="res://assets/sprites/main_menu/buttons/settings/settings.png" id="7_n5bdk"]
[ext_resource type="Texture2D" uid="uid://c1xijtm5vj7on" path="res://assets/sprites/main_menu/buttons/credits/credits.png" id="8_0smar"]
[ext_resource type="Texture2D" uid="uid://ci7io317nw2sx" path="res://assets/sprites/chest/chest.png" id="9_ut38k"]

[sub_resource type="AtlasTexture" id="AtlasTexture_2png2"]
atlas = ExtResource("6_6ma3f")
region = Rect2(0, 0, 128, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_yhvtu"]
atlas = ExtResource("6_6ma3f")
region = Rect2(0, 32, 128, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_rl7fe"]
atlas = ExtResource("7_n5bdk")
region = Rect2(0, 0, 128, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_a6v2f"]
atlas = ExtResource("7_n5bdk")
region = Rect2(0, 32, 128, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_l7mry"]
atlas = ExtResource("8_0smar")
region = Rect2(0, 0, 128, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_ljvfg"]
atlas = ExtResource("8_0smar")
region = Rect2(0, 32, 128, 32)

[node name="MainMenu" type="Node2D"]
script = ExtResource("1_ixylo")

[node name="Sky" type="Sprite2D" parent="."]
texture_repeat = 2
texture = ExtResource("2_4lmfd")
centered = false
metadata/_edit_lock_ = true

[node name="Plates" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_right = 384.0
offset_bottom = 192.0

[node name="VBoxContainer" type="VBoxContainer" parent="Plates"]
layout_mode = 0
offset_right = 384.0
offset_bottom = 192.0
theme_override_constants/separation = 8

[node name="WoodPlate" parent="Plates/VBoxContainer" instance=ExtResource("3_wc0ux")]
custom_minimum_size = Vector2(160, 64)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
metadata/_edit_group_ = true

[node name="GreedySlime" type="TextureRect" parent="Plates/VBoxContainer/WoodPlate"]
layout_mode = 1
anchors_preset = 13
anchor_left = 0.5
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -80.0
offset_right = 80.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(80, 32)
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("7_23beg")
stretch_mode = 3

[node name="Buttons" type="VBoxContainer" parent="Plates/VBoxContainer"]
layout_mode = 2

[node name="Play" parent="Plates/VBoxContainer/Buttons" instance=ExtResource("6_ur85q")]
custom_minimum_size = Vector2(128, 32)
layout_mode = 2
texture_normal = SubResource("AtlasTexture_2png2")
texture_pressed = SubResource("AtlasTexture_yhvtu")
texture_hover = SubResource("AtlasTexture_yhvtu")

[node name="Settings" parent="Plates/VBoxContainer/Buttons" instance=ExtResource("6_ur85q")]
custom_minimum_size = Vector2(128, 32)
layout_mode = 2
texture_normal = SubResource("AtlasTexture_rl7fe")
texture_pressed = SubResource("AtlasTexture_a6v2f")
texture_hover = SubResource("AtlasTexture_a6v2f")

[node name="Credits" parent="Plates/VBoxContainer/Buttons" instance=ExtResource("6_ur85q")]
custom_minimum_size = Vector2(128, 32)
layout_mode = 2
texture_normal = SubResource("AtlasTexture_l7mry")
texture_pressed = SubResource("AtlasTexture_ljvfg")
texture_hover = SubResource("AtlasTexture_ljvfg")

[node name="TileMap" parent="." instance=ExtResource("2_kmjht")]
layer_0/tile_data = PackedInt32Array(327680, 65536, 1, 327681, 65536, 1, 327690, 65536, 1, 327691, 65536, 1, 327682, 131072, 1, 262146, 131072, 1, 196610, 131072, 0, 196609, 65536, 0, 196608, 65536, 0, 262144, 65536, 1, 262145, 65536, 1, 262154, 65536, 1, 262155, 65536, 1, 196617, 0, 0, 262153, 0, 1, 327689, 0, 1, 196618, 65536, 0, 196619, 65536, 0)

[node name="Slime" type="Sprite2D" parent="."]
position = Vector2(35, 91)
texture = ExtResource("6_r38o8")
hframes = 2
vframes = 6

[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2(192, 96)

[node name="Chest" type="Sprite2D" parent="."]
position = Vector2(351, 84)
texture = ExtResource("9_ut38k")
hframes = 3

[connection signal="pressed" from="Plates/VBoxContainer/Buttons/Play" to="." method="_on_play_button_pressed"]
[connection signal="pressed" from="Plates/VBoxContainer/Buttons/Credits" to="." method="_on_credits_button_pressed"]
